<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>hello bootstrap</title>
    <!--导入bootstrap的主样式-->
    <link rel="stylesheet" href="component/bootstrap-3.3.7-dist/css/bootstrap.min.css" type="text/css">

</head>
<body>
<div class="container">
    <h1>Hello,BootStrap</h1>
    <a href="#" title="提示信息" data-toggle="tooltip">请把鼠标放在我上面试试</a>

    <a href="#" title="提示信息" data-toggle="tooltip" data-placement="left">请把鼠标放在我上面试试</a>
</div>

<!-- 导入js文件 -->
<script type="text/javascript" src="component/jquery/jquery.min.js"></script>
<script type="text/javascript" src="component/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>

<script>
    $(function () {
        $("[data-toggle='tooltip']").tooltip();
    });
</script>

</body>
</html>